<template>
  <div id="app">
    <transition name="fade" mode="out-in">
      <router-view />
    </transition>
  </div>
</template>
<script>
export default {
  created () {
    this.$store.dispatch('getUserInfo')

  },
 
}
</script>
<style lang="less">
body,
html {
  margin: 0;
  padding: 0;

  background: #f7f4f8;
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
</style>
